﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Text;

namespace SuperCalendar.Models
{
    public class EventTime
    {
        private DateTime _startTime;

        public DateTime StartTime
        {
            get { return _startTime; }
            set { _startTime = value; }
        }
        private DateTime _endTime;

        public DateTime EndTime
        {
            get { return _endTime; }
            set { _endTime = value; }
        }
        private bool _allDay;

        public bool AllDay
        {
            get { return _allDay; }
            set { _allDay = value; }
        }

        public EventTime()
        {
            
        }

        public EventTime(DateTime start,DateTime end)
        {
            this._startTime = start;
            this._endTime = end;
            this._allDay = false;
        }
    }
}
